<?php
require_once ('odal/node.php');


/**
 * @version 1.0
 * @created 27-Dez-2003 21:35:21
 */
class odal_ComplexAttribute extends odal_Node{
	
	var $m_maxMultiplicity;
	var $m_minMultiplicity;
	var $m_sourceScheme;
	var $m_targetSchemeId;
	var $m_type;

	function odal_ComplexAttribute( &$scheme, $targetSchemeId, $minmultiplicity, $maxmultiplicity, $type, $id, $name, $creatingDate = null, $creater = 0, $modifyingDate = null, $modifier = 0 ){
		$this->_createComplexAttribute( $scheme, $targetSchemeId, $minmultiplicity, $maxmultiplicity, $type, $id, $name, $creatingDate, $creater, $modifyingDate, $modifier );
	}//odal_ComplexAttribute

	function _createComplexAttribute( &$sourceScheme, $targetSchemeId, $minmultiplicity, $maxmultiplicity, $type, $id, $name, $creatingDate, $creater, $modifyingDate, $modifier ){
		$this->m_sourceScheme =& $sourceScheme;
		$this->m_targetSchemeId =& $targetSchemeId;
		$this->m_minMultiplicity =& $minmultiplicity;
		$this->m_maxMultiplicity =& $maxmultiplicity;
		$this->m_type = $type;
		$this->m_id = $id;
		$this->m_name = $name;
		$this->m_creatingDate = $creatingDate;
		$this->m_creater = $creater;
		$this->m_modifyingDate = $modifyingDate;
		$this->m_modifier = $modifier;
	}//_createComplexAttribute

	function getMinMultiplicity(){
		return $this->m_minMultiplicity;
	}//getMinMultiplicity
	
	function getMaxMultiplicity(){
		return $this->m_minMultiplicity;
	}//getMaxMultiplicity

	function &getSourceScheme(){
		return $this->m_sourceScheme;
	}//getSourceScheme

	function &getTargetSchemeId(){
		return $this->m_targetSchemeId;
	}//getTargetSchemeId

	function getType(){
		return $this->m_type;
	}//getType

}//odal_ComplexAttribute
?>